package com.igame.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDate;

@Data
public class UserDto {
    private Integer id;
    private String username;
    private String password;
    private String email;
    private String emailCode;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate birth;
    private String captcha;
}
